package com.xiaoman.httpremote.Interceptor;

import lombok.Getter;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;

public class HeaderInterceptor{
    @Getter
    private static final List<HeaderInterceptor> headerInterceptors = new ArrayList<>();

    public Map<String, String> addHeaders() {
        return Collections.emptyMap();
    }

    protected void register() {
        headerInterceptors.add(this);
    }
    public HeaderInterceptor() {
        register();
    }
}
